import axios from "@/api";

// 获取lpm管理
export const getserverUrlAPI = (data2:any,data: any) => {
  return axios({
    url: "/service/page/serverUrl?paged="+data2.paged+"&&pageSize="+data2.pageSize,
    method: "post",
    data
  });
};

export const addserverUrlAPI = (data: any) => {
    return axios({
      url: "/service/serverUrl",
      method: "post",
      data
    });
  };

  export const updateserverUrlAPI = (data: any) => {
    return axios({
      url: "/service/serverUrl",
      method: "put",
      data
    });
  };


export const deleteserverUrlAPI = (data: any) => {
    return axios({
      url: "/service/serverUrl?id="+data,
      method: "delete",
      
    });
  };
